package club.zhilin.mall.product.domain;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

/**
 * sku销售属性值
 * @Table sku_sale_attr_value
 */
@Table(value ="sku_sale_attr_value")
@Data
public class SkuSaleAttrValue {
    /**
     * id
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 库存单元id
     */
    private Long skuId;

    /**
     * spu_id(冗余)
     */
    private Integer spuId;

    /**
     * 销售属性值id
     */
    private Long saleAttrValueId;
}